package com.yjhealth.libs.core.net.upload;

import android.content.Context;

import com.yjhealth.libs.core.constants.CoreConstants;
import com.yjhealth.libs.core.core.CoreAppInit;

import okhttp3.Interceptor;


public class UploadManager extends UploadUtil {


    public UploadManager(Context context, String baseUrl, Interceptor... interceptors) {
        super(context, baseUrl, interceptors);
    }

    private static class Holder {
        private static final UploadManager INSTANCE = new UploadManager(CoreAppInit.getApplication(),
                CoreConstants.httpApiUrl);
    }

    public static UploadManager getInstance() {
        return Holder.INSTANCE;
    }

}
